import {axios_encrypt} from '../assets/encrypt/encrypt' 

export function getUsersStatus(data){ //获取用户状态
    return axios_encrypt('/user/getUsersStatus.do',data,false)
}

export function findGroup(data){ 
    return axios_encrypt('/remote/group/find',data,false)
}

export function addGroup(data){ 
    return axios_encrypt('/group/addGroup.do',data,false)
}

export function getUserListInfoPage(data){ 
    return axios_encrypt('/user/getUserListInfoPage.do',data,false)
}

export function delGroupPublicNoticesBatch(data){ 
    return axios_encrypt('/group/delGroupPublicNoticesBatch.do',data,false)
}

export function getGroupByUserId(data){ 
    return axios_encrypt('/group/getGroupByUserId.do',data,false)
}

export function delMemberBatch_axios(data){
    return axios_encrypt('/group/delMemberBatch.do',data,false)
}

export function addCollect(data){
    return axios_encrypt('/user/addCollect.do',data,false)
}

export function delSchedule_axios(data){//删除日程
    return axios_encrypt('/user/delSchedule.do',data,false)
}

export function addSchedule(data){
    return axios_encrypt('/user/addSchedule.do',data,false)
}

export function getSchedule_axios(data){
    return axios_encrypt('/user/getSchedule.do',data,false)
}

export function switchUserCategory_axios(data){
    return axios_encrypt('/user/switchUserCategory.do',data,false)
}

export function getUserCategoryMembers_axios(data){
    return axios_encrypt('/user/getUserCategoryMembers.do',data,false)
}

export function delUserCategory_axios(data){
    return axios_encrypt('/user/delUserCategory.do',data,false)
}

export function addUserCategory_axios(data){
    return axios_encrypt('/user/addUserCategory.do',data,false)
}

export function getUserCategoryNames_axios(data){
    return axios_encrypt('/user/getUserCategoryNames.do',data,false)
}

export function renameUserCategory_axios(data){
    return axios_encrypt('/user/renameUserCategory.do',data,false)
}

export function getGroupPublicNotices_axios(data){
    return axios_encrypt('/group/getGroupPublicNotices.do',data,false)
}

export function addPublicNotice_axios(data){
    return axios_encrypt('/group/addPublicNotice.do',data,false)
}

export function delRemind_axios(data){
    return axios_encrypt('/user/delRemind.do',data,false)
}

export function updateIsDone_axios(data){
    return axios_encrypt('/user/updateIsDone.do',data,false)
}

export function addRemind_axios(data){
    return axios_encrypt('/user/addRemind.do',data,false)
}

export function updateRemindTime_axios(data){
    return axios_encrypt('/user/updateRemindTime.do',data,false)
}

export function getUserInfo_axios(data){
    return axios_encrypt('/user/getUserInfo.do',data,false)
}

export function delCollect_axios(data){
    return axios_encrypt('/user/delCollect.do',data,false)
}

export function getCollect_axios(data){
    return axios_encrypt('/user/getCollect.do',data,false)
}

export function getRemind_axios(data){
    return axios_encrypt('/user/getRemind.do',data,false)
}

export function getProgress(data){
    return axios_encrypt('/api/v1/oim/file/getProgress.do',data,false)
}

export function getGroupAndUsersById(data){
    return axios_encrypt('/group/getGroupAndUsersById.do',data,false)
}

export function addGroupMembers(data){
    return axios_encrypt('/group/addGroupMembers.do',data,false)
}

export function getGroupPeople(data){
    return axios_encrypt('/user/getGroupPeople.do',data,false)
}

export function getFileCatalog_axios(data){
    return axios_encrypt('/api/v1/oim/file/getFileCatalog.do',data,false)
}

export function editGroup_axios(data){
    return axios_encrypt('/group/editGroup.do',data,false)
}

export function delMember_axios(data){
    return axios_encrypt('/group/delMember.do',data,false)
}

export function getUserListInfo(data){
    return axios_encrypt('/user/getUserListInfo.do',data,false)
}

export function getUserDnd(data){
    return axios_encrypt('/user/getUserDnd.do',data,false)
}

export function universal_axios(path,data){
    return axios_encrypt(path,data,false)
}

export function addUserCategoryMember(data){
    return axios_encrypt('/user/addUserCategoryMember.do',data,false)
}

export function delUserCategoryMember(data){
    return axios_encrypt('/user/delUserCategoryMember.do',data,false)
}

export function article_axios(data){
    return axios_encrypt('/share/article.do',data,false)
}

export function getMyDepartments(data){
    return axios_encrypt('/user/getMyDepartments.do',data,false)
}

export function getGroup(data){
    return axios_encrypt('/user/getGroup.do',data,false)
}

export function categoryMemberList(data){
    return axios_encrypt('/user/categoryMemberList.do',data,false)
}

export function getSetaTopList(data){
    return axios_encrypt('/user/getSetaTopList.do',data,false)
}

export function selectUserTask(data){
    return axios_encrypt('/usertask/selectUserTask.do',data,false)
}

export function charRecord(data){
    return axios_encrypt('/usertask/charRecord.do',data,false)
}

export function insertUserTaskLog(data){
    return axios_encrypt('/usertask/insertUserTaskLog.do',data,false)
}

export function getCustService(data){//查询客服人员
    return axios_encrypt('/user/getCustService.do',data,false)
}

export function serviceAssign(data){//指派任务
    return axios_encrypt('/user/serviceAssign.do',data,false)
}

export function getAssTask(data){//查询指派任务
    return axios_encrypt('/user/getAssTask.do',data,false)
}

export function chanelAssTask(data){//取消指派任务
    return axios_encrypt('/user/chanelAssTask.do',data,false)
}

export function getUserListInfoSim(data){
    return axios_encrypt('/user/getUserListInfoSim.do',data,false)
}

export function getRemindAll(data){
    return axios_encrypt('/user/getRemindAll.do',data)
}
